Skip to content

architecture-griller: add second griller (advisory-only structural-fit)#31

Merged
PrzemekGalarowicz merged 3 commits into
mainfrom
architecture-griller
Jul 1, 2026
Merged

architecture-griller: add second griller (advisory-only structural-fit)#31
PrzemekGalarowicz merged 3 commits into
mainfrom
architecture-griller

Conversation

@PrzemekGalarowicz

@PrzemekGalarowicz PrzemekGalarowicz commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

What

The second griller — a role: griller capability at ROOT pharn-pipeline/grillers/architecture/, mirroring the testability griller (#29). It interrogates a PLAN along the architecture axis: does the approach fit the existing tree, or introduce structural inconsistency (layering violations, sibling coupling P3 forbids, new patterns where established ones exist)?

The honest floor/advisory split (the point of this increment)

Architecture-fit is irreducible judgment, so this griller proves the converse #29 anticipated: a griller may be advisory-only beyond membership.

  • FLOOR — griller membership only (role: griller, counted by count-grillers.mjs, reused unchanged → registered 1→2; validate 2→3 capabilities).
  • ADVISORY — the entire architectural-fit assessment. No manufactured floor sub-check for symmetry with testability: a genuine deterministic invariant (pharn-contracts purity) is explicitly routed to validate.mjs (the floor over built product), not bolted onto an advisory griller.
  • enforces: ["P3"] is eval-bound by the misfit fixture; the trust-fence (needle_absent_from_enum_gated) is intact. "Ensures good architecture" is struck as the disease (P0).

Gates (this run)

  • build validate GREEN (3 capabilities) · regress no-regressions · verify PASS (test 167 / validate / lint / format:check / lint:md all 0) · review GREEN (0 blocking findings).

Two commits

  1. architecture-griller — the griller + its evals + the build trace.
  2. root-apparatus-cleanup — a separate fix for a pre-existing markdownlint MD038 in root-apparatus-cleanup: remove pre-split apparatus leftovers at repo root #30's REVIEW.md that was leaving the whole-repo lint:md gate red (blocking every later feature's verify). Surfaced by this feature's verify run; unrelated to the griller; split into its own commit for a clean review.

Proposed lessons (candidates in REVIEW.md — not yet canon; /pharn-dev-memory-promote gates them)

  • Whole-repo lint:md blocking an unrelated feature's verify.
  • Use the canonical package.json test glob, not a hand-expanded file list.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added an advisory architecture-review capability with documented rules, output format, and example evaluation cases.
    • Introduced new fit/misfit scenarios to validate both clean and problematic architecture patterns.
  • Bug Fixes

    • Improved handling of injected or misleading text so it does not affect structured results.
    • Clarified that advisory findings do not block the main build flow.
  • Documentation

    • Added several review, verify, ship, and regression notes to summarize behavior and outcomes.

PrzemekGalarowicz and others added 2 commits July 1, 2026 18:56
The second griller (role: griller) at pharn-pipeline/grillers/architecture/, mirroring the testability griller (#29). Interrogates a PLAN along the architecture axis: does the approach fit the existing tree, or introduce layering / sibling-coupling (P3) inconsistency?

Honest floor/advisory split (OQ1): griller MEMBERSHIP is the only runtime floor (count-grillers.mjs, reused unchanged); the architectural-fit assessment is entirely ADVISORY. No manufactured floor sub-check — a genuine deterministic invariant (pharn-contracts purity) belongs in validate.mjs, not an advisory griller. enforces: ["P3"] is eval-bound by the misfit fixture; the trust-fence (needle_absent) is intact.

validate GREEN (3 capabilities); regress no-regressions; verify PASS.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Malformed nested back-ticks in the L-DEL-1 candidate lesson tripped markdownlint MD038, leaving the whole-repo lint:md gate red (blocking every later feature's verify). Rewritten to render DELETE as bold + a plain path code span — no change to the lesson's meaning.

Surfaced by the architecture-griller verify run; fixed separately.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@PrzemekGalarowicz, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 47 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0a58e0a7-0025-46e9-8604-12f921b3f186

📥 Commits

Reviewing files that changed from the base of the PR and between 31689ca and 347cdb0.

📒 Files selected for processing (17)
  • .dev/features/architecture-griller/GRILL.md
  • .dev/features/architecture-griller/PLAN.md
  • .dev/features/architecture-griller/REGRESSION.md
  • .dev/features/architecture-griller/REVIEW.md
  • .dev/features/architecture-griller/SHIP.md
  • .dev/features/architecture-griller/VERIFY.md
  • .dev/features/architecture-griller/regression-report.json
  • .dev/features/architecture-griller/verify-report.json
  • .dev/features/root-apparatus-cleanup/REVIEW.md
  • .dev/memory-bank/lessons-learned.md
  • pharn-pipeline/grillers/architecture/architecture.md
  • pharn-pipeline/grillers/architecture/evals/cases/plan-fits.md
  • pharn-pipeline/grillers/architecture/evals/cases/plan-misfits.md
  • pharn-pipeline/grillers/architecture/evals/expected/plan-fits.json
  • pharn-pipeline/grillers/architecture/evals/expected/plan-fits.md
  • pharn-pipeline/grillers/architecture/evals/expected/plan-misfits.json
  • pharn-pipeline/grillers/architecture/evals/expected/plan-misfits.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch architecture-griller

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

…ed verifies)

L11 — verify's whole-repo format:check/lint:md (added by L9) run once at HEAD with no base comparison, so a pre-existing style error in an unrelated committed file blocks every later feature's verify (unlike /pharn-dev-regress, which classifies base-red as pre-existing). Surfaced by this feature's verify run and human-approved via gated /pharn-dev-memory-promote; the sibling candidate L12 was denied as covered by L5.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@PrzemekGalarowicz PrzemekGalarowicz merged commit 0c4d4d7 into main Jul 1, 2026
6 checks passed
@PrzemekGalarowicz PrzemekGalarowicz deleted the architecture-griller branch July 1, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant